package com.yicun.HttpUtils;

import com.google.gson.Gson;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.Response;
import okhttp3.ResponseBody;

/* loaded from: classes.dex */
public class LoginInterceptor implements Interceptor {
    public void MyIntent(Class cls) {
    }

    @Override // okhttp3.Interceptor
    public Response intercept(Interceptor.Chain chain) throws IOException {
        Response proceed = chain.proceed(chain.request());
        new Gson();
        ResponseBody body = proceed.body();
        String string = body.string();
        return proceed.newBuilder().body(ResponseBody.create(body.contentType(), string)).build();
    }
}